package com.chixing.service;

import com.chixing.entity.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chixing.util.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author smith
 * @since 2025-09-17
 */
public interface IProductService {
    public Result getById(Integer productId);
    public Result getPage(Integer pageNumber);
    public Result save(Product product);
    public Result update(Product product);
    public Result delete(Integer productId);
    //通过名称模糊查询，类型精确查询，价格范围
    public Result getPro(String proName,Float proMinPrice,Float proMaxPrice,String proType);
}
